Advanced Raspberry Pi by Warren Gay

Advanced Raspberry Pi by Warren Gay

Author:Warren Gay
Language: eng
Format: epub, mobi
ISBN: 9781484239483
Publisher: Apress


The Set Drive line is suppressed without the verbose option. The -q option is performed after the set operation and reports on the configuration after the change. It can be used to query only:$ ./gp -g17 -q

Got Drive=7, slew=true, hysteresis=false

Alternate Mode

The alternate mode of the GPIO can also be queried and set:$ ./gp -g17 -a

GPIO 17 is in Output mode.

Setting the alternate mode is done with the -A option:$ ./gp -g17 -A5

$ ./gp -g17 -a

GPIO 17 is in ALT5 mode.

Transistor Driver



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.